共用方式為


MessagingCenter.IMessagingCenter.Unsubscribe Method

Definition

Overloads

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

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

Source:
MessagingCenter.cs
Source:
MessagingCenter.cs
generic <typename TSender, typename TArgs>
 where TSender : class virtual void Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe(System::Object ^ subscriber, System::String ^ message) = Microsoft::Maui::Controls::IMessagingCenter::Unsubscribe;
void IMessagingCenter.Unsubscribe<TSender,TArgs> (object subscriber, string message) where TSender : class;
abstract member Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe : obj * string -> unit (requires 'Sender : null)
override this.Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe : obj * string -> unit (requires 'Sender : null)
Sub Unsubscribe(Of TSender As Class, TArgs As Class) (subscriber As Object, message As String) Implements IMessagingCenter.Unsubscribe

Type Parameters

TSender
TArgs

Parameters

subscriber
Object
message
String

Implements

Applies to

IMessagingCenter.Unsubscribe<TSender>(Object, String)

Source:
MessagingCenter.cs
Source:
MessagingCenter.cs
generic <typename TSender>
 where TSender : class virtual void Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe(System::Object ^ subscriber, System::String ^ message) = Microsoft::Maui::Controls::IMessagingCenter::Unsubscribe;
void IMessagingCenter.Unsubscribe<TSender> (object subscriber, string message) where TSender : class;
abstract member Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe : obj * string -> unit (requires 'Sender : null)
override this.Microsoft.Maui.Controls.IMessagingCenter.Unsubscribe : obj * string -> unit (requires 'Sender : null)
Sub Unsubscribe(Of TSender As Class) (subscriber As Object, message As String) Implements IMessagingCenter.Unsubscribe

Type Parameters

TSender

Parameters

subscriber
Object
message
String

Implements

Applies to