共用方式為


IMessagingCenter.Unsubscribe Method

Definition

Overloads

Unsubscribe<TSender,TArgs>(Object, String)
Unsubscribe<TSender>(Object, String)

Unsubscribe<TSender,TArgs>(Object, String)

Source:
MessagingCenter.cs
Source:
MessagingCenter.cs
public:
generic <typename TSender, typename TArgs>
 where TSender : class void Unsubscribe(System::Object ^ subscriber, System::String ^ message);
public void Unsubscribe<TSender,TArgs> (object subscriber, string message) where TSender : class;
abstract member Unsubscribe : obj * string -> unit (requires 'Sender : null)
Public Sub Unsubscribe(Of TSender As Class, TArgs As Class) (subscriber As Object, message As String)

Type Parameters

TSender
TArgs

Parameters

subscriber
Object
message
String

Applies to

Unsubscribe<TSender>(Object, String)

Source:
MessagingCenter.cs
Source:
MessagingCenter.cs
public:
generic <typename TSender>
 where TSender : class void Unsubscribe(System::Object ^ subscriber, System::String ^ message);
public void Unsubscribe<TSender> (object subscriber, string message) where TSender : class;
abstract member Unsubscribe : obj * string -> unit (requires 'Sender : null)
Public Sub Unsubscribe(Of TSender As Class) (subscriber As Object, message As String)

Type Parameters

TSender

Parameters

subscriber
Object
message
String

Applies to