private DispatchRuntime(SharedRuntimeState shared) { _shared = shared; _operations = new OperationCollection(this); _synchronizationContext = ThreadBehavior.GetCurrentSynchronizationContext(); _automaticInputSessionShutdown = true; _unhandled = new DispatchOperation(this, "*", MessageHeaders.WildcardAction, MessageHeaders.WildcardAction); }
private DispatchRuntime(SharedRuntimeState shared) { _shared = shared; _operations = new OperationCollection(this); _messageInspectors = NewBehaviorCollection <IDispatchMessageInspector>(); _synchronizationContext = ThreadBehavior.GetCurrentSynchronizationContext(); _automaticInputSessionShutdown = true; _unhandled = new DispatchOperation(this, "*", MessageHeaders.WildcardAction, MessageHeaders.WildcardAction); _unhandled.InternalFormatter = MessageOperationFormatter.Instance; _unhandled.InternalInvoker = new UnhandledActionInvoker(this); }
private DispatchRuntime(SharedRuntimeState shared) { this.shared = shared; this.operations = new OperationCollection(this); this.inputSessionShutdownHandlers = this.NewBehaviorCollection <IInputSessionShutdown>(); this.messageInspectors = this.NewBehaviorCollection <IDispatchMessageInspector>(); this.instanceContextInitializers = this.NewBehaviorCollection <IInstanceContextInitializer>(); this.synchronizationContext = ThreadBehavior.GetCurrentSynchronizationContext(); this.automaticInputSessionShutdown = true; this.principalPermissionMode = System.ServiceModel.Description.PrincipalPermissionMode.UseWindowsGroups; this.securityAuditLogLocation = AuditLogLocation.Default; this.suppressAuditFailure = true; this.serviceAuthorizationAuditLevel = AuditLevel.None; this.messageAuthenticationAuditLevel = AuditLevel.None; this.unhandled = new DispatchOperation(this, "*", "*", "*"); this.unhandled.InternalFormatter = MessageOperationFormatter.Instance; this.unhandled.InternalInvoker = new UnhandledActionInvoker(this); }
DispatchRuntime(SharedRuntimeState shared) { this.shared = shared; this.operations = new OperationCollection(this); this.inputSessionShutdownHandlers = this.NewBehaviorCollection <IInputSessionShutdown>(); this.messageInspectors = this.NewBehaviorCollection <IDispatchMessageInspector>(); this.instanceContextInitializers = this.NewBehaviorCollection <IInstanceContextInitializer>(); this.synchronizationContext = ThreadBehavior.GetCurrentSynchronizationContext(); this.automaticInputSessionShutdown = true; this.principalPermissionMode = ServiceAuthorizationBehavior.DefaultPrincipalPermissionMode; this.securityAuditLogLocation = ServiceSecurityAuditBehavior.defaultAuditLogLocation; this.suppressAuditFailure = ServiceSecurityAuditBehavior.defaultSuppressAuditFailure; this.serviceAuthorizationAuditLevel = ServiceSecurityAuditBehavior.defaultServiceAuthorizationAuditLevel; this.messageAuthenticationAuditLevel = ServiceSecurityAuditBehavior.defaultMessageAuthenticationAuditLevel; this.unhandled = new DispatchOperation(this, "*", MessageHeaders.WildcardAction, MessageHeaders.WildcardAction); this.unhandled.InternalFormatter = MessageOperationFormatter.Instance; this.unhandled.InternalInvoker = new UnhandledActionInvoker(this); }