XboxLiveEndpointPairTemplate.GetTemplateByName(String) Method

Definition

Static method that creates an XboxLiveEndpointPairTemplate for the named template. Templates are defined in the app network manifest. Each template in the manifest must have been given a unique name.

Important

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft, calls to these APIs will fail at runtime.

public:
 static XboxLiveEndpointPairTemplate ^ GetTemplateByName(Platform::String ^ name);
 static XboxLiveEndpointPairTemplate GetTemplateByName(winrt::hstring const& name);
public static XboxLiveEndpointPairTemplate GetTemplateByName(string name);
function getTemplateByName(name)
Public Shared Function GetTemplateByName (name As String) As XboxLiveEndpointPairTemplate

Parameters

name
String

Platform::String

winrt::hstring

The name of the template to instantiate, as specified in the app network manifest.

Returns

The instantiated template object.

Applies to