ServiceMoniker40 类
此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。
该类为 COM 服务标记提供了支持实现,不应直接应用。
继承层次结构
System.Object
System.MarshalByRefObject
System.ContextBoundObject
System.ServiceModel.ServiceMoniker40.ServiceMoniker40
命名空间: System.ServiceModel.ServiceMoniker40
程序集: System.ServiceModel.ServiceMoniker40(在 System.ServiceModel.ServiceMoniker40.dll 中)
语法
声明
<ComVisibleAttribute(True)> _
<GuidAttribute("F4E1E7F6-A035-41b3-9856-A3C3A1C4684F")> _
Public NotInheritable Class ServiceMoniker40 _
Inherits ContextBoundObject
[ComVisibleAttribute(true)]
[GuidAttribute("F4E1E7F6-A035-41b3-9856-A3C3A1C4684F")]
public sealed class ServiceMoniker40 : ContextBoundObject
[ComVisibleAttribute(true)]
[GuidAttribute(L"F4E1E7F6-A035-41b3-9856-A3C3A1C4684F")]
public ref class ServiceMoniker40 sealed : public ContextBoundObject
[<Sealed>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("F4E1E7F6-A035-41b3-9856-A3C3A1C4684F")>]
type ServiceMoniker40 =
class
inherit ContextBoundObject
end
ServiceMoniker40 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ServiceMoniker40 | 初始化 ServiceMoniker40 类的新实例。 |
页首
方法
名称 | 说明 | |
---|---|---|
CreateObjRef | 创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。 (继承自 MarshalByRefObject。) | |
Equals(Object) | 确定指定的对象是否等于当前对象。 (继承自 Object。) | |
GetHashCode | 作为默认哈希函数。 (继承自 Object。) | |
GetLifetimeService | 检索控制此实例的生存期策略的当前生存期服务对象。 (继承自 MarshalByRefObject。) | |
GetType | 获取当前实例的 Type。 (继承自 Object。) | |
InitializeLifetimeService | 获取控制此实例的生存期策略的生存期服务对象。 (继承自 MarshalByRefObject。) | |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
版本信息
.NET Framework
受以下版本支持:4.5、4
平台
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(不支持服务器核心角色), Windows Server 2008 R2(支持带 SP1 或更高版本的服务器核心角色;不支持 Itanium)
.NET Framework 并非支持每个平台的所有版本。有关支持的版本的列表,请参阅.NET Framework 系统要求。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。