Share via


MessagingEventGridNamespacesModelFactory.FailedLockToken Method

Definition

Initializes a new instance of FailedLockToken.

public static Azure.Messaging.EventGrid.Namespaces.FailedLockToken FailedLockToken (string lockToken = default, Azure.ResponseError error = default);
static member FailedLockToken : string * Azure.ResponseError -> Azure.Messaging.EventGrid.Namespaces.FailedLockToken
Public Shared Function FailedLockToken (Optional lockToken As String = Nothing, Optional error As ResponseError = Nothing) As FailedLockToken

Parameters

lockToken
String

The lock token of an entry in the request.

error
ResponseError

Error information of the failed operation result for the lock token in the request.

Returns

A new FailedLockToken instance for mocking.

Exceptions

lockToken or error is null.

Applies to