Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

GoogleWorkspaceConflictException

OfficeIMO.GoogleWorkspace

Namespace
OfficeIMO.GoogleWorkspace
Assembly
OfficeIMO.GoogleWorkspace
Source revision
be6c300e4ab1 with working tree changes
Base
InvalidOperationException
Implements
ISerializable
Modifiers
sealed

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 string required
Message describing the rejected mutation.
targetId string required
Identifier of the resource whose version changed.
expectedVersion string? required
Version expected by the caller, or null when unavailable.
actualVersion string? required
Version observed before mutation, or null when unavailable.
report OfficeIMO.GoogleWorkspace.TranslationReport required
Translation report containing the associated conflict diagnostics.

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.