private void CreateCloseRequestor() { RequestReliableRequestor requestor = new RequestReliableRequestor(); this.ConfigureRequestor(requestor); requestor.TimeoutString1Index = "TimeoutOnClose"; requestor.MessageAction = WsrmIndex.GetCloseSequenceActionHeader(this.settings.MessageVersion.Addressing); requestor.MessageBody = new System.ServiceModel.Channels.CloseSequence(this.session.OutputID, this.connection.Last); lock (base.ThisLock) { base.ThrowIfClosed(); this.closeRequestor = requestor; } }
void CreateCloseRequestor() { RequestReliableRequestor temp = new RequestReliableRequestor(); this.ConfigureRequestor(temp); temp.TimeoutString1Index = SR.TimeoutOnClose; temp.MessageAction = WsrmIndex.GetCloseSequenceActionHeader( this.settings.MessageVersion.Addressing); temp.MessageBody = new CloseSequence(this.session.OutputID, this.connection.Last); lock (this.ThisLock) { this.ThrowIfClosed(); this.closeRequestor = temp; } }