다음을 통해 공유


EventGridNamespacesModelFactory.FailedLockToken(String, ResponseError) 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.

Applies to