MessageTypeExtender 类

Exposes Service Broker message type methods and properties in addition to the methods and properties of the MessageType object.

此 API 不符合 CLS。 符合 CLS 的替代项是 。

继承层次结构

System. . :: . .Object
  Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectExtender< (Of < ( <'MessageType> ) > ) >
    Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectExtender< (Of < ( <'MessageType> ) > ) >
      Microsoft.SqlServer.Management.Smo.Broker..::..MessageTypeExtender

命名空间:  Microsoft.SqlServer.Management.Smo.Broker
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<CLSCompliantAttribute(False)> _
Public Class MessageTypeExtender _
    Inherits SmoObjectExtender(Of MessageType) _
    Implements ISfcValidate
用法
Dim instance As MessageTypeExtender
[CLSCompliantAttribute(false)]
public class MessageTypeExtender : SmoObjectExtender<MessageType>, 
    ISfcValidate
[CLSCompliantAttribute(false)]
public ref class MessageTypeExtender : public SmoObjectExtender<MessageType^>, 
    ISfcValidate
[<CLSCompliantAttribute(false)>]
type MessageTypeExtender =  
    class
        inherit SmoObjectExtender<MessageType>
        interface ISfcValidate
    end
public class MessageTypeExtender extends SmoObjectExtender<MessageType> implements ISfcValidate

MessageTypeExtender 类型公开以下成员。

构造函数

  名称 说明
公共方法 MessageTypeExtender() () () () Initializes a new instance of the MessageTypeExtender class.
公共方法 MessageTypeExtender(MessageType) Initializes a new instance of the MessageTypeExtender class and associates it with an instance of the MessageType class.

页首

属性

  名称 说明
公共属性 Name Gets or sets the name of the Service Broker message type associated with the MessageTypeExtender object.
受保护属性 Parent 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
受保护方法 GetParentSfcPropertySet Returns an instance of the parent objects property set. (从 SmoObjectExtender< (Of < ( <'T> ) > ) > 继承。)
公共方法 GetPropertySet 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnPropertyChanged Raises the PropertyChanged event when it has any subscriber. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 OnPropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 parent_PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 parent_PropertyMetadataChanged Indicates the parent object in the PropertyMetadata. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterParentProperty Registers the property of the parent that has not been included in properties collection. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterProperty(PropertyInfo) Registers an additional reflected property. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
受保护方法 RegisterProperty(PropertyInfo, String) 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共方法 ToString (从 Object 继承。)
公共方法 Validate Validates the state of a MessageTypeExtender object.

页首

事件

  名称 说明
公共事件 PropertyChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)
公共事件 PropertyMetadataChanged 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 (从 SfcObjectExtender< (Of < ( <'TSfcInstance> ) > ) > 继承。)

页首

注释

Thread Safety

此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。不保证所有实例成员都是线程安全的。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。