API Reference
Class
GoogleWorkspaceConflictException
Raised before mutation when a remote resource no longer matches the caller's observed version.
Inheritance
- InvalidOperationException
- GoogleWorkspaceConflictException
Constructors
public GoogleWorkspaceConflictException(String message, String targetId, String? expectedVersion, String? actualVersion, TranslationReport report) #Initializes a conflict with the expected and observed versions of the target resource.
Parameters
- message System.String
- Message describing the rejected mutation.
- targetId System.String
- Identifier of the resource whose version changed.
- expectedVersion System.String?
- Version expected by the caller, or null when unavailable.
- actualVersion System.String?
- Version observed before mutation, or null when unavailable.
- report OfficeIMO.GoogleWorkspace.TranslationReport
- Translation report containing the associated conflict diagnostics.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
public virtual Void GetObjectData(SerializationInfo info, StreamingContext context) #Returns:
VoidInherited from Exception
Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}") EditorBrowsable(1)Parameters
- info SerializationInfo
- context StreamingContext
Properties
public String TargetId { get; } #Gets the identifier of the resource whose mutation was rejected.
public String? ExpectedVersion { get; } #Gets the resource version expected by the caller, when known.
public String? ActualVersion { get; } #Gets the resource version observed before mutation, when known.
public TranslationReport Report { get; } #Gets the report containing structured conflict diagnostics.
Inherited Properties
public MethodBase? TargetSite { get; } #Inherited from Exception
public virtual String Message { get; } #Inherited from Exception
public virtual IDictionary Data { get; } #Inherited from Exception
public Exception? InnerException { get; } #Inherited from Exception
public virtual String? HelpLink { get; set; } #Inherited from Exception
public virtual String? Source { get; set; } #Inherited from Exception
public Int32 HResult { get; set; } #Inherited from Exception
public virtual String? StackTrace { get; } #Inherited from Exception