UserInformation.GetSessionInitiationProtocolUriAsync Method

Definition

Gets the Uniform Resource Identifier (URI) of the session initiation protocol for the user.

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

public:
 static IAsyncOperation<Uri ^> ^ GetSessionInitiationProtocolUriAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<Uri> GetSessionInitiationProtocolUriAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
 static IAsyncOperation<Uri> GetSessionInitiationProtocolUriAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<System.Uri> GetSessionInitiationProtocolUriAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Use User instead of UserInformation. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.System.UserProfile.UserProfileContract")]
public static IAsyncOperation<System.Uri> GetSessionInitiationProtocolUriAsync();
function getSessionInitiationProtocolUriAsync()
Public Shared Function GetSessionInitiationProtocolUriAsync () As IAsyncOperation(Of Uri)

Returns

The Uniform Resource Identifier (URI) of the session initiation protocol.

Attributes

Remarks

Important

The UserInformation class is not supported on Windows 10 or later. Use the User class instead. See Remarks in the UserInformation class documentation.

Access to the Uniform Resource Identifier (URI) of the session initiation protocol for the user can be blocked by privacy settings (for example, if the UserInformation.NameAccessAllowed property is false). If access is blocked, this method returns a null value.

This method does not throw an exception.

Applies to

See also