API Reference
Class
GoogleWorkspaceDiagnosticsDispatcher
Records translation notices and forwards matching structured entries to a session sink.
Inheritance
- Object
- GoogleWorkspaceDiagnosticsDispatcher
Methods
public static Void Add(TranslationReport report, GoogleWorkspaceSessionOptions? sessionOptions, TranslationSeverity severity, String feature, String message, String path = "", GoogleWorkspaceFailureKind? failureKind = null, String? code = null, TranslationAction action = None, Int32 count = 1, String? targetId = null) #Returns:
VoidAdds a notice to a report and emits the equivalent structured diagnostic.
Parameters
- report OfficeIMO.GoogleWorkspace.TranslationReport
- sessionOptions OfficeIMO.GoogleWorkspace.GoogleWorkspaceSessionOptions?
- severity OfficeIMO.GoogleWorkspace.TranslationSeverity
- feature System.String
- message System.String
- path System.String = ""
- failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null
- code System.String? = null
- action OfficeIMO.GoogleWorkspace.TranslationAction = None
- count System.Int32 = 1
- targetId System.String? = null
public static Void AddUnique(TranslationReport report, GoogleWorkspaceSessionOptions? sessionOptions, TranslationSeverity severity, String feature, String message, String path = "", GoogleWorkspaceFailureKind? failureKind = null, String? code = null, TranslationAction action = None, Int32 count = 1, String? targetId = null) #Returns:
VoidAdds and emits a diagnostic unless the same severity, feature, message, and path already exist.
Parameters
- report OfficeIMO.GoogleWorkspace.TranslationReport
- sessionOptions OfficeIMO.GoogleWorkspace.GoogleWorkspaceSessionOptions?
- severity OfficeIMO.GoogleWorkspace.TranslationSeverity
- feature System.String
- message System.String
- path System.String = ""
- failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null
- code System.String? = null
- action OfficeIMO.GoogleWorkspace.TranslationAction = None
- count System.Int32 = 1
- targetId System.String? = null
public static Void Emit(GoogleWorkspaceSessionOptions? sessionOptions, GoogleWorkspaceDiagnosticEntry entry) #Returns:
VoidSends one entry to the configured diagnostic sink, when present.
Parameters
- sessionOptions OfficeIMO.GoogleWorkspace.GoogleWorkspaceSessionOptions?
- Session containing the optional sink.
- entry OfficeIMO.GoogleWorkspace.GoogleWorkspaceDiagnosticEntry
- Entry to emit.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?