MessagingCenter.Unsubscribe 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.
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 static void Unsubscribe(System::Object ^ subscriber, System::String ^ message);
public static void Unsubscribe<TSender,TArgs> (object subscriber, string message) where TSender : class;
static member Unsubscribe : obj * string -> unit (requires 'Sender : null)
Public Shared 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 static void Unsubscribe(System::Object ^ subscriber, System::String ^ message);
public static void Unsubscribe<TSender> (object subscriber, string message) where TSender : class;
static member Unsubscribe : obj * string -> unit (requires 'Sender : null)
Public Shared Sub Unsubscribe(Of TSender As Class) (subscriber As Object, message As String)
Type Parameters
- TSender
Parameters
- subscriber
- Object
- message
- String
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET MAUI