set { Thread.SetData (Thread.GetNamedDataSlot (operation_context_name), value); }
}
+#if !NET_2_1
EndpointDispatcher dispatcher;
+#endif
IContextChannel channel;
RequestContext request_ctx;
ExtensionCollection<OperationContext> extensions;
get { return channel; }
}
- public EndpointDispatcher EndpointDispatcher {
- get { return dispatcher; }
- set { dispatcher = value; }
- }
-
public IExtensionCollection<OperationContext> Extensions {
get {
if (extensions == null)
}
}
+
+#if !NET_2_1
+ public EndpointDispatcher EndpointDispatcher {
+ get { return dispatcher; }
+ set { dispatcher = value; }
+ }
public bool HasSupportingTokens {
get { return SupportingTokens != null ? SupportingTokens.Count > 0 : false; }
}
public ServiceHostBase Host {
get { return dispatcher != null ? dispatcher.ChannelDispatcher.Host : null; }
}
+#endif
public MessageHeaders IncomingMessageHeaders {
get { return request_ctx != null ? request_ctx.RequestMessage.Headers : null; }
set { request_ctx = value; }
}
- public ServiceSecurityContext ServiceSecurityContext {
- get { return IncomingMessageProperties != null ? IncomingMessageProperties.Security.ServiceSecurityContext : null; }
- }
-
[MonoTODO]
public string SessionId {
get { throw new NotImplementedException (); }
}
+#if !NET_2_1
+ public ServiceSecurityContext ServiceSecurityContext {
+ get { return IncomingMessageProperties != null ? IncomingMessageProperties.Security.ServiceSecurityContext : null; }
+ }
+
public ICollection<SupportingTokenSpecification> SupportingTokens {
get { return IncomingMessageProperties != null ? IncomingMessageProperties.Security.IncomingSupportingTokens : null; }
}
{
throw new NotImplementedException ();
}
+#endif
internal Message IncomingMessage {
get {
System.ServiceModel/MessageHeader_1.cs
System.ServiceModel/MessageParameterAttribute.cs
System.ServiceModel/MessagePropertyAttribute.cs
+System.ServiceModel/OperationContext.cs
+System.ServiceModel/OperationContextScope.cs
System.ServiceModel/OperationContractAttribute.cs
System.ServiceModel/ProtocolException.cs
System.ServiceModel/QuotaExceededException.cs