Aracılığıyla paylaş


IServiceGroupPartition.ResolveMember<T>(Uri) Method

Definition

Enables the member to get direct access to the other members of the service group.

public T ResolveMember<T> (Uri name) where T : class;
abstract member ResolveMember : Uri -> 'T (requires 'T : null)
Public Function ResolveMember(Of T As Class) (name As Uri) As T

Type Parameters

T

The type of the service member that should be resolved.

Parameters

name
Uri

The fabric:/ name of the member to resolve.

Returns

T

Returns the member that is specified by name as an object of the specified type.

Remarks

The ResolveMember<T>(Uri) method enables a service group member to obtain a direct reference to the other members in the group. The direct object-object communication with the other members does not require communication outside of the machine or virtual machine, either for communication with the Naming service to resolve the member or via some external transport to send the actual commands to the member.

Applies to