AllJoynSession.RemoveMemberAsync(String) 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.
Important
The types in the Windows.Devices.AllJoyn namespace are deprecated, and might not be available in future versions of Windows. AllJoyn—sponsored by AllSeen Alliance—was an open-source discovery and communication protocol for Internet of Things (IoT) scenarios such as turning lights on and off, and reading temperatures. For alternatives, such as IoTivity Lite and IoTivity, refer to the iotivity.org website.
Removes the member specified by the input String from the session.
public:
virtual IAsyncOperation<int> ^ RemoveMemberAsync(Platform::String ^ uniqueName) = RemoveMemberAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<int> RemoveMemberAsync(winrt::hstring const& uniqueName);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
IAsyncOperation<int> RemoveMemberAsync(winrt::hstring const& uniqueName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<int> RemoveMemberAsync(string uniqueName);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("AllJoynSession has been deprecated. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 786432, "Windows.Foundation.UniversalApiContract")]
public IAsyncOperation<int> RemoveMemberAsync(string uniqueName);
function removeMemberAsync(uniqueName)
Public Function RemoveMemberAsync (uniqueName As String) As IAsyncOperation(Of Integer)
Parameters
- uniqueName
-
String
Platform::String
winrt::hstring
Name of member to be removed from the session.
Returns
An AllJoyn status code.
- Attributes
Windows requirements
App capabilities |
allJoyn
|