DigitalTwinsModelFactory.IncomingRelationship Method

Definition

Initializes a new instance of IncomingRelationship(String, String, String, String) for mocking purposes.

public static Azure.DigitalTwins.Core.IncomingRelationship IncomingRelationship (string relationshipId, string sourceId, string relationshipName, string relationshipLink);
static member IncomingRelationship : string * string * string * string -> Azure.DigitalTwins.Core.IncomingRelationship
Public Shared Function IncomingRelationship (relationshipId As String, sourceId As String, relationshipName As String, relationshipLink As String) As IncomingRelationship

Parameters

relationshipId
System.String

A user-provided string representing the id of this relationship, unique in the context of the source digital twin, i.e. sourceId + relationshipId is unique in the context of the service.

sourceId
System.String

The id of the source digital twin.

relationshipName
System.String

The name of the relationship.

relationshipLink
System.String

Link to the relationship, to be used for deletion.

Returns

IncomingRelationship

The new instance of IncomingRelationship(String, String, String, String) to be used for mocking purposes.

Applies to