Inheritance: DcerpcMessage
示例#1
0
 /// <exception cref="SharpCifs.Dcerpc.DcerpcException"></exception>
 /// <exception cref="System.IO.IOException"></exception>
 public virtual void Bind()
 {
     lock (this)
     {
         try
         {
             State = 1;
             DcerpcMessage bind = new DcerpcBind(Binding, this);
             Sendrecv(bind);
         }
         catch (IOException ioe)
         {
             State = 0;
             throw;
         }
     }
 }
示例#2
0
		/// <exception cref="SharpCifs.Dcerpc.DcerpcException"></exception>
		/// <exception cref="System.IO.IOException"></exception>
		public virtual void Bind()
		{
			lock (this)
			{
				try
				{
					State = 1;
					DcerpcMessage bind = new DcerpcBind(Binding, this);
					Sendrecv(bind);
				}
				catch (IOException ioe)
				{
					State = 0;
					throw;
				}
			}
		}