private GetLogicalCallContext ( ) : |
||
return |
private LogicalCallContext FetchLogicalCallContext() { Message message = this._mcmsg as Message; if (message != null) { return(message.GetLogicalCallContext()); } MethodCall methodCall = this._mcmsg as MethodCall; if (methodCall != null) { return(methodCall.GetLogicalCallContext()); } throw new RemotingException(Environment.GetResourceString("Remoting_Message_BadType")); }