Visual Basic (Declaration) | |
---|---|
<OperationContractAttribute(AsyncPattern=True, Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSession", ReplyAction="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSessionResponse")> <FaultContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSessionFault", Name="ServiceFault", Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", DetailType=Opc.Ua.ServiceFault, ProtectionLevel=ProtectionLevel.None, HasProtectionLevel=False)> Function BeginCreateSession( _ ByVal request As CreateSessionMessage, _ ByVal callback As AsyncCallback, _ ByVal asyncState As Object _ ) As IAsyncResult |
C# | |
---|---|
[OperationContractAttribute(AsyncPattern=true, Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSession", ReplyAction="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSessionResponse")] [FaultContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/CreateSessionFault", Name="ServiceFault", Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", DetailType=Opc.Ua.ServiceFault, ProtectionLevel=ProtectionLevel.None, HasProtectionLevel=false)] IAsyncResult BeginCreateSession( CreateSessionMessage request, AsyncCallback callback, object asyncState ) |
Parameters
- request
- callback
- asyncState
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family