PurviewRelationships.DeleteAsync(String, RequestContext) 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.
Delete a relationship between entities by its GUID.
public virtual System.Threading.Tasks.Task<Azure.Response> DeleteAsync (string guid, Azure.RequestContext context = default);
abstract member DeleteAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteAsync (guid As String, Optional context As RequestContext = Nothing) As Task(Of Response)
Parameters
- guid
- String
The globally unique identifier of the relationship.
- context
- RequestContext
The request context, which can override default behaviors on the request on a per-call basis.
Returns
Exceptions
guid
is null.
guid
is an empty string, and was expected to be non-empty.
Remarks
Schema for Response Error
:
{
requestId: string,
errorCode: string,
errorMessage: string
}
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET