1 implementation of NewInstance
System.ServiceModel (1)
System\ServiceModel\Administration\WbemProvider.cs (1)
694
IWmiInstance IWmiInstance.
NewInstance
(string className)
46 references to NewInstance
System.ServiceModel (46)
System\ServiceModel\Administration\AppDomainInstanceProvider.cs (3)
85
IWmiInstance traceListenerWmiInstance = instance.
NewInstance
(AdministrationStrings.TraceListener);
93
IWmiInstance argumentWmiInstance = instance.
NewInstance
(AdministrationStrings.TraceListenerArgument);
102
argumentWmiInstance = instance.
NewInstance
(AdministrationStrings.TraceListenerArgument);
System\ServiceModel\Administration\ContractInstanceProvider.cs (10)
65
IWmiInstance operation = contract.
NewInstance
(AdministrationStrings.Operation);
144
instance = existingInstance.
NewInstance
("DeliveryRequirementsAttribute");
156
instance = existingInstance.
NewInstance
(instanceProvider.GetInstanceType());
161
instance = existingInstance.
NewInstance
("Behavior");
176
instance = existingInstance.
NewInstance
("DataContractSerializerOperationBehavior");
187
instance = existingInstance.
NewInstance
("OperationBehaviorAttribute");
197
instance = existingInstance.
NewInstance
("TransactionFlowAttribute");
203
instance = existingInstance.
NewInstance
("XmlSerializerOperationBehavior");
215
instance = existingInstance.
NewInstance
(instanceProvider.GetInstanceType());
220
instance = existingInstance.
NewInstance
("Behavior");
System\ServiceModel\Administration\EndpointInstanceProvider.cs (19)
73
IWmiInstance binding = instance.
NewInstance
(AdministrationStrings.Binding);
140
instance = instance.
NewInstance
(instanceProvider.GetInstanceType());
148
instance = instance.
NewInstance
(elementType.Name);
176
IWmiInstance connectionPool = instance.
NewInstance
(AdministrationStrings.TcpConnectionPoolSettings);
189
IWmiInstance connectionPool = instance.
NewInstance
(AdministrationStrings.NamedPipeConnectionPoolSettings);
267
IWmiInstance securitySettings = instance.
NewInstance
(AdministrationStrings.PeerSecuritySettings);
269
IWmiInstance transportSecuritySettings = securitySettings.
NewInstance
(AdministrationStrings.PeerTransportSecuritySettings);
312
IWmiInstance localServiceSecuritySettings = instance.
NewInstance
(AdministrationStrings.LocalServiceSecuritySettings);
366
IWmiInstance channelPoolSettings = instance.
NewInstance
(AdministrationStrings.ChannelPoolSettings);
456
instance = existingInstance.
NewInstance
("ClientCredentials");
504
instance = existingInstance.
NewInstance
("MustUnderstandBehavior");
508
instance = existingInstance.
NewInstance
("SynchronousReceiveBehavior");
512
instance = existingInstance.
NewInstance
("DispatcherSynchronizationBehavior");
516
instance = existingInstance.
NewInstance
("TransactedBatchingBehavior");
521
instance = existingInstance.
NewInstance
("ClientViaBehavior");
527
instance = existingInstance.
NewInstance
(instanceProvider.GetInstanceType());
532
instance = existingInstance.
NewInstance
("Behavior");
544
IWmiInstance readerQuotasInstance = instance.
NewInstance
(AdministrationStrings.XmlDictionaryReaderQuotas);
555
IWmiInstance extendedProtectionPolicy = instance.
NewInstance
(AdministrationStrings.ExtendedProtectionPolicy);
System\ServiceModel\Administration\ServiceInstanceProvider.cs (14)
73
IWmiInstance appDomainInfo = instance.
NewInstance
(AdministrationStrings.AppDomainInfo);
113
IWmiInstance channelInstance = instance.
NewInstance
(AdministrationStrings.Channel);
156
instance = existingInstance.
NewInstance
("AspNetCompatibilityRequirementsAttribute");
162
instance = existingInstance.
NewInstance
("ServiceCredentials");
231
instance = existingInstance.
NewInstance
("ServiceAuthorizationBehavior");
247
instance = existingInstance.
NewInstance
("ServiceSecurityAuditBehavior");
256
instance = existingInstance.
NewInstance
("ServiceBehaviorAttribute");
281
instance = existingInstance.
NewInstance
("ServiceDebugBehavior");
297
instance = existingInstance.
NewInstance
("ServiceMetadataBehavior");
317
instance = existingInstance.
NewInstance
("ServiceThrottlingBehavior");
325
instance = existingInstance.
NewInstance
("ServiceTimeoutsBehavior");
332
instance = existingInstance.
NewInstance
(instanceProvider.GetInstanceType());
337
instance = existingInstance.
NewInstance
("Behavior");
350
IWmiInstance metadataExporterInstance = instance.
NewInstance
(AdministrationStrings.MetadataExporter);