Visual Basic (Declaration) | |
---|---|
<OperationContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSession", ReplyAction="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSessionResponse", AsyncPattern=True)> <FaultContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSessionFault", Name="ServiceFault", Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", DetailType=Opc.Ua.ServiceFault, ProtectionLevel=ProtectionLevel.None, HasProtectionLevel=False)> Function BeginActivateSession( _ ByVal request As ActivateSessionMessage, _ ByVal callback As AsyncCallback, _ ByVal asyncState As Object _ ) As IAsyncResult |
C# | |
---|---|
[OperationContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSession", ReplyAction="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSessionResponse", AsyncPattern=true)] [FaultContractAttribute(Action="http://opcfoundation.org/UA/2008/02/Services.wsdl/ActivateSessionFault", Name="ServiceFault", Namespace="http://opcfoundation.org/UA/2008/02/Types.xsd", DetailType=Opc.Ua.ServiceFault, ProtectionLevel=ProtectionLevel.None, HasProtectionLevel=false)] IAsyncResult BeginActivateSession( ActivateSessionMessage 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