共用方式為


CommunicationObjectInternal.OnClose(CommunicationObject, TimeSpan) 方法

定義

public:
 static void OnClose(System::ServiceModel::Channels::CommunicationObject ^ communicationObject, TimeSpan timeout);
public static void OnClose (System.ServiceModel.Channels.CommunicationObject communicationObject, TimeSpan timeout);
static member OnClose : System.ServiceModel.Channels.CommunicationObject * TimeSpan -> unit
Public Sub OnClose (communicationObject As CommunicationObject, timeout As TimeSpan)

參數

communicationObject
CommunicationObject
timeout
TimeSpan

適用於