DiscoveryMessageSequenceCD1.FromDiscoveryMessageSequence 方法

定义

从指定的 DiscoveryMessageSequenceCD1 实例中初始化 DiscoveryMessageSequence 类的新实例。

public:
 static System::ServiceModel::Discovery::VersionCD1::DiscoveryMessageSequenceCD1 ^ FromDiscoveryMessageSequence(System::ServiceModel::Discovery::DiscoveryMessageSequence ^ discoveryMessageSequence);
public static System.ServiceModel.Discovery.VersionCD1.DiscoveryMessageSequenceCD1 FromDiscoveryMessageSequence (System.ServiceModel.Discovery.DiscoveryMessageSequence discoveryMessageSequence);
static member FromDiscoveryMessageSequence : System.ServiceModel.Discovery.DiscoveryMessageSequence -> System.ServiceModel.Discovery.VersionCD1.DiscoveryMessageSequenceCD1
Public Shared Function FromDiscoveryMessageSequence (discoveryMessageSequence As DiscoveryMessageSequence) As DiscoveryMessageSequenceCD1

参数

discoveryMessageSequence
DiscoveryMessageSequence

发现消息序列。

返回

DiscoveryMessageSequenceCD1

一个 DiscoveryMessageSequenceCD1 实例。

适用于