MessagingEventGridNamespacesModelFactory.FailedLockToken Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET